package com.hc.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

/**
 * 查询条件的分页实体封装
 *
 * @author 六月Bing
 */

@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class PageParam {

    /**
     * 要查询的字段名
     */
    @ApiModelProperty(value = "要查询的字段名")
    private String columns;

    /**
     * 每页显示的条数
     */
    private Integer pageSize;

    /**
     * 当前的页码
     */
    private Long current;
}